from django.urls import re_path
from . import views

urlpatterns = [
    # 城区列表
    re_path(r'^areas$', views.AreasView.as_view()),
    re_path(r'^houses/index$', views.Houses_index_html.as_view()),
    re_path(r'^houses$',views.HousesView.as_view()),
    # re_path(r'^houses/[int:house_id]$', views.AreasView.as_view()),
    re_path(r'^houses/(?P<house_id>\d+)$', views.House_msg_view.as_view()),
    re_path(r'^houses/(?P<house_id>\d+)/images$', views.Hose_sourse_View.as_view()),
]